package com.example.list;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.example.haohao.myview.ProgressBarActivity;

public class FrameLayoutActivity extends BaseActicity {

    String bd  ;

    String it  ;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_frame_layout);
    }

    @Override
    public void init(Bundle savedInstanceState) {
        super.init(savedInstanceState);
        soutValue("son init");
    }

    @Override
    String getString() {
        System.out.println("abstract:"+"000000");
        return null;
    }

    public void jumpToDynamicLayout(View view) {
        startActivity(new Intent(FrameLayoutActivity.this,DynamicViewActivity.class));
    }
    void soutValue(String logName){
        bd = getIntent().getExtras().getString("bd");
        it = getIntent().getExtras().getString("it");

        System.out.println(logName+" it:" + it);
        System.out.println(logName +" bd:" + bd);
    }

}